status validation laravel

34

'email' => 'required|email|unique:users,email',
//@sujay
 @if ($errors->any())
     @foreach ($errors->all() as $error)
         <div>{{$error}}</div>
     @endforeach
 @endif

Comments

Submit
0 Comments